Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/python/config: do not install a cmake file exporting targets for dependent projects #361

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

josch
Copy link
Contributor

@josch josch commented Jan 18, 2024

Before this change, projects using imath via cmake also had python bindings automatically added even if they are not needed. I rebuilt all 134 source packages in Debian unstable which directly or indirectly pull in imath to make sure that this change does not break anything. Naturally there are more software packages out there but the selection of 134 not breaking makes me sufficiently confident that this change doesn't break other software.

Thanks: Jochen Sprickerhof
Closes: #360

Copy link

linux-foundation-easycla bot commented Jan 18, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

…orting targets for dependent projects

Thanks: Jochen Sprickerhof
Closes: AcademySoftwareFoundation#360
Signed-off-by: Johannes Schauer Marin Rodrigues <[email protected]>
@cary-ilm
Copy link
Member

Thanks! The website check failure is due to a change in the required version for sphinx, unrelated to this. I'll merge this as soon as I can get that sorted out.

Copy link
Member

@cary-ilm cary-ilm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cary-ilm
Copy link
Member

#362 should fix the check failure.

@cary-ilm cary-ilm merged commit 7d58bb7 into AcademySoftwareFoundation:main Jan 22, 2024
23 of 24 checks passed
@josch
Copy link
Contributor Author

josch commented Jan 22, 2024

Hi, thanks a lot for merging my pull request! 😄

There is a very small curiosity that I just found. The commit in this pull request in commit e79adb7 lists the following header:

From: Johannes Schauer Marin Rodrigues <[email protected]>

But the commit that landed in the main branch is 7d58bb7 which says:

From: josch <[email protected]>

Do you have an idea what happened? Is this some github-specific mangling?

Thank you!

@cary-ilm
Copy link
Member

No idea about the commit emails. At first I thought it could have come from the recent introduction of .mailmap, which reconciles duplicate emails, but it doesn't look like you have an entry there.

cary-ilm pushed a commit to cary-ilm/Imath that referenced this pull request Jan 23, 2024
…orting targets for dependent projects (AcademySoftwareFoundation#361)

Thanks: Jochen Sprickerhof
Closes: AcademySoftwareFoundation#360

Signed-off-by: Johannes Schauer Marin Rodrigues <[email protected]>
cary-ilm pushed a commit to cary-ilm/Imath that referenced this pull request Jan 24, 2024
…orting targets for dependent projects (AcademySoftwareFoundation#361)

Thanks: Jochen Sprickerhof
Closes: AcademySoftwareFoundation#360

Signed-off-by: Johannes Schauer Marin Rodrigues <[email protected]>
cary-ilm pushed a commit that referenced this pull request Jan 24, 2024
…orting targets for dependent projects (#361)

Thanks: Jochen Sprickerhof
Closes: #360

Signed-off-by: Johannes Schauer Marin Rodrigues <[email protected]>
netbsd-srcmastr referenced this pull request in NetBSD/pkgsrc Jan 28, 2024
## Version 3.1.10 (January 26, 2024)

Patch release with various build/bug fixes.

Build fixes:

  - Fix a problem where downstream projects using Imath would build
    python bindings even if they weren't requested.
  - Fix for missing `std::bit_cast`
  - Fix missing/necessary use of IMATH_HOSTDEVICE
  - IMATH_INSTALL_PKG_CONFIG is now on by default, even on Windows
  - Fix calling default constructor by uniform init in TypeTraits
  - Fix redundant PYIMATH_EXPORTS causing compile issues on Windows Clang
  - Update to SO versioning policy:

    This change adopts a policy of appending the ``MAJOR.MINOR.PATCH``
    software release name to the ``SONAME`` to form the real name of the
    shared library.

    See [website/install.rst](website/install.rst) and [PR
    #339](AcademySoftwareFoundation/openexr#339)
    for more details.

Bug fixes:

  - Fix half to float giving wrong results on older x86_64 CPUs on Windows

Other changes:

  - succ()/pred() now use std::nextafter().
  - Expand epsilon bounds for m44x pyImath test.
  - Rename "docs" to "website".
  - Add missing copyright/license identifiers.

### Merged Pull Requests

* \[[#363](https://github.com/AcademySoftwareFoundation/Imath/pull/363)\]
Update install instructions to reflect new SO versioning policy

* \[[#362](https://github.com/AcademySoftwareFoundation/Imath/pull/362)\]
Require sphinx 5.0

* \[[#361](https://github.com/AcademySoftwareFoundation/Imath/pull/361)\]
src/python/config/ModuleDefine.cmake: do not install a cmake file exporting targets for dependent projects

* \[[#358](https://github.com/AcademySoftwareFoundation/Imath/pull/358)\]
Fix half to float giving wrong results on older x86_64 CPUs on Windows

* \[[#353](https://github.com/AcademySoftwareFoundation/Imath/pull/353)\]
Changed implementation of succ and pred to use std::nextafter.

* \[[#350](https://github.com/AcademySoftwareFoundation/Imath/pull/350)\]
Fix check for the availability of std::bit_cast

* \[[#349](https://github.com/AcademySoftwareFoundation/Imath/pull/349)\]
IMATH_INSTALL_PKG_CONFIG is on by default, even on Windows

* \[[#347](https://github.com/AcademySoftwareFoundation/Imath/pull/347)\]
Export Imath from the build tree and so on.

* \[[#344](https://github.com/AcademySoftwareFoundation/Imath/pull/344)\]
rm unnecessary IMATH_HOSTDEVICE attributes.

* \[[#342](https://github.com/AcademySoftwareFoundation/Imath/pull/342)\]
Add missing copyright/license identifiers

* \[[#341](https://github.com/AcademySoftwareFoundation/Imath/pull/341)\]
Remove unnecessary files

* \[[#340](https://github.com/AcademySoftwareFoundation/Imath/pull/340)\]
Fix calling default constructor by uniform init.

* \[[#339](https://github.com/AcademySoftwareFoundation/Imath/pull/339)\]
Update and simply SO versioning policy

* \[[#338](https://github.com/AcademySoftwareFoundation/Imath/pull/338)\]
Rename "docs" to "website"

* \[[#333](https://github.com/AcademySoftwareFoundation/Imath/pull/333)\]
Expand epsilon bounds for m44x pyImath test

* \[[#331](https://github.com/AcademySoftwareFoundation/Imath/pull/331)\]
Fixed redundant PYIMATH_EXPORTS causing compile issues on Windows Clang

* \[[#326](https://github.com/AcademySoftwareFoundation/Imath/pull/326)\]
Use [email protected] for consistency

* \[[#320](https://github.com/AcademySoftwareFoundation/Imath/pull/320)\]
Add missing IMATH_HOSTDEVICE to Matrix33<T>::invert(bool)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please consider making the python bindings optional
2 participants